#ifndef QZEROCANVAS_H
#define QZEROCANVAS_H

#include <QGLWidget>

class QTimer;

class QZeroCanvas : public QGLWidget
{
  Q_OBJECT

public:
  QZeroCanvas( QWidget *parent=0 );

protected:
  virtual void initializeGL() = 0;
  virtual void resizeGL( int width, int height ) = 0;
  virtual void paintGL() = 0;

  virtual void keyPressEvent( QKeyEvent *e );


protected slots:



private:

};

#endif
